def label2class(class2label:dict):
    label2class = {}
    for cls,lab in class2label.items():
        label2class[lab] = cls
    return label2class
